extends VBoxContainer

@onready var start_button:Button = $StartButton
@onready var exit_button:Button = $ExitButton

func _ready():
	start_button.pressed.connect(_on_start_button_pressed)
	exit_button.pressed.connect(_on_exit_button_pressed)
	
func _process(delta):
	pass

func _on_start_button_pressed():
	get_tree().change_scene_to_file("res://scenes/world.tscn")

func _on_exit_button_pressed():
	get_tree().quit()
